﻿using Ecommerce.Domain.Rabbit;
using Microsoft.EntityFrameworkCore;

namespace Ecommerce.Repository
{
    public class EFContexts:DbContext
    {
        public EFContexts(DbContextOptions<EFContexts> options):base(options) { }

        public DbSet<Ecommerce.Domain.Rabbit.City> Cities { get; set; }
        public DbSet<Ecommerce.Domain.Rabbit.County> Counties { get; set; }
        public DbSet<Cultivation> Cultivations { get; set; }
        public DbSet<Enterprise> Enterprises { get; set; }
        public DbSet<Good> Goods { get; set; }
        public DbSet<ImageRes> Images { get; set; }
        public DbSet<Immune> Immunes { get; set; }
        public DbSet<Process> Processes { get; set; }
        public DbSet<Supplier> Suppliers { get; set; }
        public DbSet<Slaughter> Slaughters { get; set; }
        public DbSet<Traceability> Traceabilities { get; set; }
        public DbSet<urban> Urbans { get; set; }

    }
}